﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using miSuperEngine;
namespace juego1
{
    class vacaScene:Scene
    {
        
        public vacaScene(ContentManager c):base(c)
        {
            vacaTex = c.Load<Texture2D>("spritesheet");
            Animation anim = new Animation(vacaTex, 8, 8, 60, 30);
            
        }
        
        public override void draw(Microsoft.Xna.Framework.Graphics.SpriteBatch sb)
        {
            
            base.draw(sb);
        }
        public override void handleInput()
        {
            /*if (Keyboard.GetState().IsKeyDown(Keys.Space))
                actors.Add(new Actor(new Vector2(50, 50), vacaTex));*/
            if (Keyboard.GetState().IsKeyDown(Keys.Enter))
                SceneManager.addScene(new inGameScene(SceneManager.Content));
            base.handleInput();
        }
        public override void update(Microsoft.Xna.Framework.GameTime gt)
        {
            base.update(gt);
        }
    }
}
